package lua;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.ByteBuf;
import lion.netty4.message.RequestMessageRaw;
import lion.netty4.message.SendToMessageRaw;
public final class LuaMessageHall{
	public static final class C2SEnterHall{
		public long sessionId;
		public static final int id = 1101;

		public static C2SEnterHall parse(RequestMessageRaw request){
			C2SEnterHall retObj = new C2SEnterHall();
			try{
			retObj.sessionId=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CEnterHall{
		public int is_success;
		public long reconnect_sessionId;
		public int ddz_online_count;
		public S2CEnterHall(long preconnect_sessionId,int pis_success,int pddz_online_count){
			this.reconnect_sessionId=preconnect_sessionId;
			this.is_success=pis_success;
			this.ddz_online_count=pddz_online_count;
		}
		public S2CEnterHall(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1102);
			retMsg.writeInt(this.is_success);
			retMsg.writeLong(this.reconnect_sessionId);
			retMsg.writeInt(this.ddz_online_count);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushPlayerInfo{
		public int player_id;
		public String name;
		public String account_id;
		public short sex;
		public String headimg;
		public int yuan_bao;
		public int fang_ka;
		public int club_id;
		public int club_badge_num;
		public PushPlayerInfo(int pfang_ka,int pyuan_bao,int pplayer_id,String paccount_id,String pheadimg,short psex,int pclub_id,String pname,int pclub_badge_num){
			this.fang_ka=pfang_ka;
			this.yuan_bao=pyuan_bao;
			this.player_id=pplayer_id;
			this.account_id=paccount_id;
			this.headimg=pheadimg;
			this.sex=psex;
			this.club_id=pclub_id;
			this.name=pname;
			this.club_badge_num=pclub_badge_num;
		}
		public PushPlayerInfo(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1104);
			retMsg.writeInt(this.player_id);
			retMsg.writeString(this.name);
			retMsg.writeString(this.account_id);
			retMsg.writeShort(this.sex);
			retMsg.writeString(this.headimg);
			retMsg.writeInt(this.yuan_bao);
			retMsg.writeInt(this.fang_ka);
			retMsg.writeInt(this.club_id);
			retMsg.writeInt(this.club_badge_num);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SGmCmd{
		public String cmd;
		public static final int id = 1105;

		public static C2SGmCmd parse(RequestMessageRaw request){
			C2SGmCmd retObj = new C2SGmCmd();
			try{
			retObj.cmd=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CGmCmd{
		public int ret;
		public S2CGmCmd(int pret){
			this.ret=pret;
		}
		public S2CGmCmd(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1106);
			retMsg.writeInt(this.ret);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushPropChange{
		public int prop_type;
		public long new_value;
		public PushPropChange(int pprop_type,long pnew_value){
			this.prop_type=pprop_type;
			this.new_value=pnew_value;
		}
		public PushPropChange(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1108);
			retMsg.writeInt(this.prop_type);
			retMsg.writeLong(this.new_value);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SServerReconnect{
		public long session_id;
		public static final int id = 1109;

		public static C2SServerReconnect parse(RequestMessageRaw request){
			C2SServerReconnect retObj = new C2SServerReconnect();
			try{
			retObj.session_id=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CServerReconnect{
		public int socket_id;
		public int ret;
		public S2CServerReconnect(int pret,int psocket_id){
			this.ret=pret;
			this.socket_id=psocket_id;
		}
		public S2CServerReconnect(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1110);
			retMsg.writeInt(this.socket_id);
			retMsg.writeInt(this.ret);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushKickOff{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1112);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SPayPreOrder{
		public int shop_id;
		public static final int id = 1113;

		public static C2SPayPreOrder parse(RequestMessageRaw request){
			C2SPayPreOrder retObj = new C2SPayPreOrder();
			try{
			retObj.shop_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CPayPreOrder{
		public String status;
		public String token_id;
		public S2CPayPreOrder(String ptoken_id,String pstatus){
			this.token_id=ptoken_id;
			this.status=pstatus;
		}
		public S2CPayPreOrder(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1114);
			retMsg.writeString(this.status);
			retMsg.writeString(this.token_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushPayResult{
		public int pay_result;
		public int total_fee;
		public PushPayResult(int ptotal_fee,int ppay_result){
			this.total_fee=ptotal_fee;
			this.pay_result=ppay_result;
		}
		public PushPayResult(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1116);
			retMsg.writeInt(this.pay_result);
			retMsg.writeInt(this.total_fee);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SFastJoinRoomCheck{
		public String room_id;
		public static final int id = 1117;

		public static C2SFastJoinRoomCheck parse(RequestMessageRaw request){
			C2SFastJoinRoomCheck retObj = new C2SFastJoinRoomCheck();
			try{
			retObj.room_id=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CFastJoinRoomCheck{
		public String room_id;
		public byte room_type;
		public S2CFastJoinRoomCheck(String proom_id,byte proom_type){
			this.room_id=proom_id;
			this.room_type=proom_type;
		}
		public S2CFastJoinRoomCheck(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1118);
			retMsg.writeString(this.room_id);
			retMsg.writeByte(this.room_type);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SFastJoinRoom{
		public String room_id;
		public static final int id = 1119;

		public static C2SFastJoinRoom parse(RequestMessageRaw request){
			C2SFastJoinRoom retObj = new C2SFastJoinRoom();
			try{
			retObj.room_id=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CFastJoinRoom{
		public String room_id;
		public byte room_type;
		public S2CFastJoinRoom(String proom_id,byte proom_type){
			this.room_id=proom_id;
			this.room_type=proom_type;
		}
		public S2CFastJoinRoom(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1120);
			retMsg.writeString(this.room_id);
			retMsg.writeByte(this.room_type);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SGetCfg{
		public static final int id = 1121;

		public static C2SGetCfg parse(RequestMessageRaw request){
			C2SGetCfg retObj = new C2SGetCfg();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class PushSettingCfg{
		public byte voice;
		public byte msg;
		public byte club_invite;
		public PushSettingCfg(byte pvoice,byte pmsg,byte pclub_invite){
			this.voice=pvoice;
			this.msg=pmsg;
			this.club_invite=pclub_invite;
		}
		public PushSettingCfg(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1122);
			retMsg.writeByte(this.voice);
			retMsg.writeByte(this.msg);
			retMsg.writeByte(this.club_invite);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SSendCfg{
		public byte voice;
		public byte msg;
		public byte club_invite;
		public static final int id = 1123;

		public static C2SSendCfg parse(RequestMessageRaw request){
			C2SSendCfg retObj = new C2SSendCfg();
			try{
			retObj.voice=request.readByte();
			retObj.msg=request.readByte();
			retObj.club_invite=request.readByte();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CSendCfg{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1124);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushServerNotification{
		public String subtitleContent;
		public int repeateCount;
		public PushServerNotification(String psubtitleContent,int prepeateCount){
			this.subtitleContent=psubtitleContent;
			this.repeateCount=prepeateCount;
		}
		public PushServerNotification(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1126);
			retMsg.writeString(this.subtitleContent);
			retMsg.writeInt(this.repeateCount);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SAnnounceList{
		public static final int id = 1127;

		public static C2SAnnounceList parse(RequestMessageRaw request){
			C2SAnnounceList retObj = new C2SAnnounceList();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CAnnounceList{
		public AnnounceEntity[] list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1128);
			if(this.list == null || this.list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.list.length);
				for(int i=0;i<this.list.length;i++){
					retMsg.writeString(this.list[i].title);
					retMsg.writeString(this.list[i].content);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class AnnounceEntity{
		public String title;
		public String content;
		public AnnounceEntity(String ptitle,String pcontent){
			this.title=ptitle;
			this.content=pcontent;
		}
		public AnnounceEntity(){}
	}
	public static final class PushAutoJoinRoom{
		public byte room_type;
		public byte status;
		public String room_server_host;
		public int room_server_port;
		public long room_session_id;
		public PushAutoJoinRoom(int proom_server_port,long proom_session_id,String proom_server_host,byte proom_type,byte pstatus){
			this.room_server_port=proom_server_port;
			this.room_session_id=proom_session_id;
			this.room_server_host=proom_server_host;
			this.room_type=proom_type;
			this.status=pstatus;
		}
		public PushAutoJoinRoom(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1130);
			retMsg.writeByte(this.room_type);
			retMsg.writeByte(this.status);
			retMsg.writeString(this.room_server_host);
			retMsg.writeInt(this.room_server_port);
			retMsg.writeLong(this.room_session_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SBuyItemGoods{
		public byte item_id_index;
		public int count;
		public static final int id = 1131;

		public static C2SBuyItemGoods parse(RequestMessageRaw request){
			C2SBuyItemGoods retObj = new C2SBuyItemGoods();
			try{
			retObj.item_id_index=request.readByte();
			retObj.count=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CBuyItemGoods{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1132);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SMailList{
		public long last_mail_id;
		public static final int id = 1133;

		public static C2SMailList parse(RequestMessageRaw request){
			C2SMailList retObj = new C2SMailList();
			try{
			retObj.last_mail_id=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CMailList{
		public MailInfo[] mail_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1134);
			if(this.mail_list == null || this.mail_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.mail_list.length);
				for(int i=0;i<this.mail_list.length;i++){
					retMsg.writeLong(this.mail_list[i].mail_id);
					retMsg.writeInt(this.mail_list[i].template_id);
					retMsg.writeString(this.mail_list[i].sendName);
					retMsg.writeInt(this.mail_list[i].create_time);
					retMsg.writeByte(this.mail_list[i].is_read);
					if(this.mail_list[i].attach == null || this.mail_list[i].attach.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.mail_list[i].attach.length);
				for(int attach_idx=0;attach_idx<this.mail_list[i].attach.length;attach_idx++){
					retMsg.writeInt(this.mail_list[i].attach[attach_idx].item_id);
					retMsg.writeInt(this.mail_list[i].attach[attach_idx].cnt);
				}
			}
					retMsg.writeString(this.mail_list[i].title);
					retMsg.writeString(this.mail_list[i].content);
					retMsg.writeInt(this.mail_list[i].remain_del_time);
					retMsg.writeInt(this.mail_list[i].act_type);
					if(this.mail_list[i].club_msg == null){
				retMsg.writeBool(false);
			}else{
				retMsg.writeBool(true);
					retMsg.writeInt(this.mail_list[i].club_msg.club_id);
					retMsg.writeString(this.mail_list[i].club_msg.club_name);
			}
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class MailInfo{
		public long mail_id;
		public int template_id;
		public String sendName;
		public int create_time;
		public byte is_read;
		public MailAttach[] attach;
		public String title;
		public String content;
		public int remain_del_time;
		public int act_type;
		public MailClubInfo club_msg;
	}
	public static final class MailClubInfo{
		public int club_id;
		public String club_name;
		public MailClubInfo(int pclub_id,String pclub_name){
			this.club_id=pclub_id;
			this.club_name=pclub_name;
		}
		public MailClubInfo(){}
	}
	public static final class MailAttach{
		public int item_id;
		public int cnt;
		public MailAttach(int pitem_id,int pcnt){
			this.item_id=pitem_id;
			this.cnt=pcnt;
		}
		public MailAttach(){}
	}
	public static final class C2SDelMail{
		public long[] mail_id;
		public static final int id = 1135;

		public static C2SDelMail parse(RequestMessageRaw request){
			C2SDelMail retObj = new C2SDelMail();
			try{
			int mail_id_size = request.readInt();
				retObj.mail_id = new long[mail_id_size];
				for(int i=0;i<mail_id_size;i++){
					retObj.mail_id[i]=request.readLong();
				}
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CDelMail{
		public long[] mail_id;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1136);
			if(this.mail_id == null || this.mail_id.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.mail_id.length);
				for(int i=0;i<this.mail_id.length;i++){
			retMsg.writeLong(this.mail_id[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SQueryOnlineCount{
		public static final int id = 1137;

		public static C2SQueryOnlineCount parse(RequestMessageRaw request){
			C2SQueryOnlineCount retObj = new C2SQueryOnlineCount();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CQueryOnlineCount{
		public byte[] module_id;
		public int[] online_count;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1138);
			if(this.module_id == null || this.module_id.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.module_id.length);
				for(int i=0;i<this.module_id.length;i++){
			retMsg.writeByte(this.module_id[i]);
				}
			}
			if(this.online_count == null || this.online_count.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.online_count.length);
				for(int i=0;i<this.online_count.length;i++){
			retMsg.writeInt(this.online_count[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SGetBackpack{
		public static final int id = 1139;

		public static C2SGetBackpack parse(RequestMessageRaw request){
			C2SGetBackpack retObj = new C2SGetBackpack();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CBackpackItems{
		public Items[] items;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1140);
			if(this.items == null || this.items.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.items.length);
				for(int i=0;i<this.items.length;i++){
					retMsg.writeInt(this.items[i].item_id);
					retMsg.writeInt(this.items[i].cnt);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class Items{
		public int item_id;
		public int cnt;
		public Items(int pitem_id,int pcnt){
			this.item_id=pitem_id;
			this.cnt=pcnt;
		}
		public Items(){}
	}
	public static final class S2CPushpackItems{
		public Items[] items;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1142);
			if(this.items == null || this.items.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.items.length);
				for(int i=0;i<this.items.length;i++){
					retMsg.writeInt(this.items[i].item_id);
					retMsg.writeInt(this.items[i].cnt);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SUseItem{
		public int item_id;
		public int cnt;
		public static final int id = 1143;

		public static C2SUseItem parse(RequestMessageRaw request){
			C2SUseItem retObj = new C2SUseItem();
			try{
			retObj.item_id=request.readInt();
			retObj.cnt=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CUseItem{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1144);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SCheckAgent{
		public String agent_id;
		public static final int id = 1145;

		public static C2SCheckAgent parse(RequestMessageRaw request){
			C2SCheckAgent retObj = new C2SCheckAgent();
			try{
			retObj.agent_id=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CCheckAgent{
		public String agent_id;
		public String agent_name;
		public int status;
		public S2CCheckAgent(String pagent_id,String pagent_name,int pstatus){
			this.agent_id=pagent_id;
			this.agent_name=pagent_name;
			this.status=pstatus;
		}
		public S2CCheckAgent(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1146);
			retMsg.writeString(this.agent_id);
			retMsg.writeString(this.agent_name);
			retMsg.writeInt(this.status);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SBindAgent{
		public String agent_id;
		public static final int id = 1147;

		public static C2SBindAgent parse(RequestMessageRaw request){
			C2SBindAgent retObj = new C2SBindAgent();
			try{
			retObj.agent_id=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CBindAgent{
		public String agent_id;
		public String agent_name;
		public int status;
		public S2CBindAgent(String pagent_id,String pagent_name,int pstatus){
			this.agent_id=pagent_id;
			this.agent_name=pagent_name;
			this.status=pstatus;
		}
		public S2CBindAgent(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1148);
			retMsg.writeString(this.agent_id);
			retMsg.writeString(this.agent_name);
			retMsg.writeInt(this.status);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushTurntable{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1150);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SLoginTurntable{
		public static final int id = 1151;

		public static C2SLoginTurntable parse(RequestMessageRaw request){
			C2SLoginTurntable retObj = new C2SLoginTurntable();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CLoginTurntable{
		public byte item_id;
		public S2CLoginTurntable(byte pitem_id){
			this.item_id=pitem_id;
		}
		public S2CLoginTurntable(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1152);
			retMsg.writeByte(this.item_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SGainMail{
		public long mail_id;
		public static final int id = 1153;

		public static C2SGainMail parse(RequestMessageRaw request){
			C2SGainMail retObj = new C2SGainMail();
			try{
			retObj.mail_id=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CGainMail{
		public long mail_id;
		public S2CGainMail(long pmail_id){
			this.mail_id=pmail_id;
		}
		public S2CGainMail(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1154);
			retMsg.writeLong(this.mail_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushScrollingMessage{
		public String keyword;
		public int scrollid;
		public PushScrollingMessage(String pkeyword,int pscrollid){
			this.keyword=pkeyword;
			this.scrollid=pscrollid;
		}
		public PushScrollingMessage(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1156);
			retMsg.writeString(this.keyword);
			retMsg.writeInt(this.scrollid);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubCode{
		public String phone;
		public static final int id = 1157;

		public static C2SClubCode parse(RequestMessageRaw request){
			C2SClubCode retObj = new C2SClubCode();
			try{
			retObj.phone=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubCode{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1158);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubName{
		public static final int id = 1159;

		public static C2SClubName parse(RequestMessageRaw request){
			C2SClubName retObj = new C2SClubName();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubName{
		public String clubname;
		public S2CClubName(String pclubname){
			this.clubname=pclubname;
		}
		public S2CClubName(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1160);
			retMsg.writeString(this.clubname);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubCreate{
		public String clubname;
		public String phone;
		public String code;
		public static final int id = 1161;

		public static C2SClubCreate parse(RequestMessageRaw request){
			C2SClubCreate retObj = new C2SClubCreate();
			try{
			retObj.clubname=request.readString();
			retObj.phone=request.readString();
			retObj.code=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubCreate{
		public ClubInfo club_info;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1162);
			if(this.club_info == null){
				retMsg.writeBool(false);
			}else{
				retMsg.writeBool(true);
					retMsg.writeInt(this.club_info.club_id);
					retMsg.writeString(this.club_info.name);
					retMsg.writeInt(this.club_info.num);
					retMsg.writeInt(this.club_info.max_num);
					retMsg.writeString(this.club_info.found_name);
					retMsg.writeString(this.club_info.found_weixin);
					retMsg.writeLong(this.club_info.liveness_num);
					retMsg.writeInt(this.club_info.level);
					retMsg.writeInt(this.club_info.rank);
					retMsg.writeInt(this.club_info.auth);
					retMsg.writeString(this.club_info.notice);
					retMsg.writeInt(this.club_info.me_credit_num);
					retMsg.writeLong(this.club_info.me_jin_dou);
					retMsg.writeLong(this.club_info.jin_dou);
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class ClubInfo{
		public int club_id;
		public String name;
		public int num;
		public int max_num;
		public String found_name;
		public String found_weixin;
		public long liveness_num;
		public int level;
		public int rank;
		public int auth;
		public String notice;
		public int me_credit_num;
		public long me_jin_dou;
		public long jin_dou;
		public ClubInfo(long pme_jin_dou,long pliveness_num,int plevel,int pauth,long pjin_dou,int pnum,int pme_credit_num,String pfound_name,int pclub_id,String pname,int prank,int pmax_num,String pfound_weixin,String pnotice){
			this.me_jin_dou=pme_jin_dou;
			this.liveness_num=pliveness_num;
			this.level=plevel;
			this.auth=pauth;
			this.jin_dou=pjin_dou;
			this.num=pnum;
			this.me_credit_num=pme_credit_num;
			this.found_name=pfound_name;
			this.club_id=pclub_id;
			this.name=pname;
			this.rank=prank;
			this.max_num=pmax_num;
			this.found_weixin=pfound_weixin;
			this.notice=pnotice;
		}
		public ClubInfo(){}
	}
	public static final class C2SQuestionFeedback{
		public String question;
		public String question_content;
		public static final int id = 1163;

		public static C2SQuestionFeedback parse(RequestMessageRaw request){
			C2SQuestionFeedback retObj = new C2SQuestionFeedback();
			try{
			retObj.question=request.readString();
			retObj.question_content=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CQuestionFeedback{
		public int ret;
		public S2CQuestionFeedback(int pret){
			this.ret=pret;
		}
		public S2CQuestionFeedback(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1164);
			retMsg.writeInt(this.ret);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubList{
		public int p;
		public static final int id = 1165;

		public static C2SClubList parse(RequestMessageRaw request){
			C2SClubList retObj = new C2SClubList();
			try{
			retObj.p=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubList{
		public ClubInfo[] club_info;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1166);
			if(this.club_info == null || this.club_info.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.club_info.length);
				for(int i=0;i<this.club_info.length;i++){
					retMsg.writeInt(this.club_info[i].club_id);
					retMsg.writeString(this.club_info[i].name);
					retMsg.writeInt(this.club_info[i].num);
					retMsg.writeInt(this.club_info[i].max_num);
					retMsg.writeString(this.club_info[i].found_name);
					retMsg.writeString(this.club_info[i].found_weixin);
					retMsg.writeLong(this.club_info[i].liveness_num);
					retMsg.writeInt(this.club_info[i].level);
					retMsg.writeInt(this.club_info[i].rank);
					retMsg.writeInt(this.club_info[i].auth);
					retMsg.writeString(this.club_info[i].notice);
					retMsg.writeInt(this.club_info[i].me_credit_num);
					retMsg.writeLong(this.club_info[i].me_jin_dou);
					retMsg.writeLong(this.club_info[i].jin_dou);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubApply{
		public int club_id;
		public static final int id = 1167;

		public static C2SClubApply parse(RequestMessageRaw request){
			C2SClubApply retObj = new C2SClubApply();
			try{
			retObj.club_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubApply{
		public int club_id;
		public String club_name;
		public int status;
		public S2CClubApply(int pclub_id,String pclub_name,int pstatus){
			this.club_id=pclub_id;
			this.club_name=pclub_name;
			this.status=pstatus;
		}
		public S2CClubApply(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1168);
			retMsg.writeInt(this.club_id);
			retMsg.writeString(this.club_name);
			retMsg.writeInt(this.status);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubInfo{
		public int club_id;
		public static final int id = 1169;

		public static C2SClubInfo parse(RequestMessageRaw request){
			C2SClubInfo retObj = new C2SClubInfo();
			try{
			retObj.club_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubInfo{
		public ClubInfo club_info;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1170);
			if(this.club_info == null){
				retMsg.writeBool(false);
			}else{
				retMsg.writeBool(true);
					retMsg.writeInt(this.club_info.club_id);
					retMsg.writeString(this.club_info.name);
					retMsg.writeInt(this.club_info.num);
					retMsg.writeInt(this.club_info.max_num);
					retMsg.writeString(this.club_info.found_name);
					retMsg.writeString(this.club_info.found_weixin);
					retMsg.writeLong(this.club_info.liveness_num);
					retMsg.writeInt(this.club_info.level);
					retMsg.writeInt(this.club_info.rank);
					retMsg.writeInt(this.club_info.auth);
					retMsg.writeString(this.club_info.notice);
					retMsg.writeInt(this.club_info.me_credit_num);
					retMsg.writeLong(this.club_info.me_jin_dou);
					retMsg.writeLong(this.club_info.jin_dou);
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubDonate{
		public int club_id;
		public long jin_dou;
		public static final int id = 1171;

		public static C2SClubDonate parse(RequestMessageRaw request){
			C2SClubDonate retObj = new C2SClubDonate();
			try{
			retObj.club_id=request.readInt();
			retObj.jin_dou=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubDonate{
		public int club_id;
		public long jin_dou;
		public long me_jin_dou;
		public S2CClubDonate(long pme_jin_dou,long pjin_dou,int pclub_id){
			this.me_jin_dou=pme_jin_dou;
			this.jin_dou=pjin_dou;
			this.club_id=pclub_id;
		}
		public S2CClubDonate(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1172);
			retMsg.writeInt(this.club_id);
			retMsg.writeLong(this.jin_dou);
			retMsg.writeLong(this.me_jin_dou);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubJinDouDetail{
		public int club_id;
		public int p;
		public static final int id = 1173;

		public static C2SClubJinDouDetail parse(RequestMessageRaw request){
			C2SClubJinDouDetail retObj = new C2SClubJinDouDetail();
			try{
			retObj.club_id=request.readInt();
			retObj.p=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubJinDouDetail{
		public JinDouDetail[] detail_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1174);
			if(this.detail_list == null || this.detail_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.detail_list.length);
				for(int i=0;i<this.detail_list.length;i++){
					retMsg.writeInt(this.detail_list[i].club_id);
					retMsg.writeInt(this.detail_list[i].time);
					retMsg.writeInt(this.detail_list[i].player_id);
					retMsg.writeString(this.detail_list[i].player_name);
					retMsg.writeInt(this.detail_list[i].act);
					retMsg.writeLong(this.detail_list[i].act_jin_dou);
					retMsg.writeLong(this.detail_list[i].retain_jin_dou);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class JinDouDetail{
		public int club_id;
		public int time;
		public int player_id;
		public String player_name;
		public int act;
		public long act_jin_dou;
		public long retain_jin_dou;
		public JinDouDetail(long pact_jin_dou,int pplayer_id,int pact,int pclub_id,int ptime,String pplayer_name,long pretain_jin_dou){
			this.act_jin_dou=pact_jin_dou;
			this.player_id=pplayer_id;
			this.act=pact;
			this.club_id=pclub_id;
			this.time=ptime;
			this.player_name=pplayer_name;
			this.retain_jin_dou=pretain_jin_dou;
		}
		public JinDouDetail(){}
	}
	public static final class C2SReadMail{
		public long mail_id;
		public static final int id = 1175;

		public static C2SReadMail parse(RequestMessageRaw request){
			C2SReadMail retObj = new C2SReadMail();
			try{
			retObj.mail_id=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CReadMail{
		public long mail_id;
		public byte is_read;
		public S2CReadMail(byte pis_read,long pmail_id){
			this.is_read=pis_read;
			this.mail_id=pmail_id;
		}
		public S2CReadMail(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1176);
			retMsg.writeLong(this.mail_id);
			retMsg.writeByte(this.is_read);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubMember{
		public int club_id;
		public int p;
		public static final int id = 1177;

		public static C2SClubMember parse(RequestMessageRaw request){
			C2SClubMember retObj = new C2SClubMember();
			try{
			retObj.club_id=request.readInt();
			retObj.p=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubMember{
		public int club_id;
		public int online_num;
		public int offline_num;
		public int apply_num;
		public ClubMemberDetail[] detail_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1178);
			retMsg.writeInt(this.club_id);
			retMsg.writeInt(this.online_num);
			retMsg.writeInt(this.offline_num);
			retMsg.writeInt(this.apply_num);
			if(this.detail_list == null || this.detail_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.detail_list.length);
				for(int i=0;i<this.detail_list.length;i++){
					retMsg.writeInt(this.detail_list[i].status);
					retMsg.writeInt(this.detail_list[i].downline_time);
					retMsg.writeInt(this.detail_list[i].player_id);
					retMsg.writeString(this.detail_list[i].player_name);
					retMsg.writeString(this.detail_list[i].headimg);
					retMsg.writeInt(this.detail_list[i].credit_num);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class ClubMemberDetail{
		public int status;
		public int downline_time;
		public int player_id;
		public String player_name;
		public String headimg;
		public int credit_num;
		public ClubMemberDetail(int pcredit_num,int pdownline_time,int pplayer_id,String pheadimg,String pplayer_name,int pstatus){
			this.credit_num=pcredit_num;
			this.downline_time=pdownline_time;
			this.player_id=pplayer_id;
			this.headimg=pheadimg;
			this.player_name=pplayer_name;
			this.status=pstatus;
		}
		public ClubMemberDetail(){}
	}
	public static final class C2SClubMemberQuit{
		public static final int id = 1179;

		public static C2SClubMemberQuit parse(RequestMessageRaw request){
			C2SClubMemberQuit retObj = new C2SClubMemberQuit();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubMemberQuit{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1180);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubModifyWeixin{
		public String weixin;
		public static final int id = 1181;

		public static C2SClubModifyWeixin parse(RequestMessageRaw request){
			C2SClubModifyWeixin retObj = new C2SClubModifyWeixin();
			try{
			retObj.weixin=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubModifyWeixin{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1182);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubUp{
		public static final int id = 1183;

		public static C2SClubUp parse(RequestMessageRaw request){
			C2SClubUp retObj = new C2SClubUp();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubUp{
		public int max_num;
		public int level;
		public S2CClubUp(int plevel,int pmax_num){
			this.level=plevel;
			this.max_num=pmax_num;
		}
		public S2CClubUp(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1184);
			retMsg.writeInt(this.max_num);
			retMsg.writeInt(this.level);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubModifyNotice{
		public String notice;
		public static final int id = 1185;

		public static C2SClubModifyNotice parse(RequestMessageRaw request){
			C2SClubModifyNotice retObj = new C2SClubModifyNotice();
			try{
			retObj.notice=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubModifyNotice{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1186);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubRaisedFind{
		public int player_id;
		public static final int id = 1187;

		public static C2SClubRaisedFind parse(RequestMessageRaw request){
			C2SClubRaisedFind retObj = new C2SClubRaisedFind();
			try{
			retObj.player_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubRaisedFind{
		public String player_name;
		public S2CClubRaisedFind(String pplayer_name){
			this.player_name=pplayer_name;
		}
		public S2CClubRaisedFind(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1188);
			retMsg.writeString(this.player_name);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubRaisedAct{
		public int player_id;
		public long jin_dou;
		public static final int id = 1189;

		public static C2SClubRaisedAct parse(RequestMessageRaw request){
			C2SClubRaisedAct retObj = new C2SClubRaisedAct();
			try{
			retObj.player_id=request.readInt();
			retObj.jin_dou=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubRaisedAct{
		public JinDouDetail jin_dou_detail;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1190);
			if(this.jin_dou_detail == null){
				retMsg.writeBool(false);
			}else{
				retMsg.writeBool(true);
					retMsg.writeInt(this.jin_dou_detail.club_id);
					retMsg.writeInt(this.jin_dou_detail.time);
					retMsg.writeInt(this.jin_dou_detail.player_id);
					retMsg.writeString(this.jin_dou_detail.player_name);
					retMsg.writeInt(this.jin_dou_detail.act);
					retMsg.writeLong(this.jin_dou_detail.act_jin_dou);
					retMsg.writeLong(this.jin_dou_detail.retain_jin_dou);
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SIosVerify{
		public String locale;
		public String receipt;
		public static final int id = 1191;

		public static C2SIosVerify parse(RequestMessageRaw request){
			C2SIosVerify retObj = new C2SIosVerify();
			try{
			retObj.locale=request.readString();
			retObj.receipt=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CIosVerify{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1192);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class PushIosVerify{
		public int ret;
		public int diamond;
		public String transactionId;
		public PushIosVerify(int pret,int pdiamond,String ptransactionId){
			this.ret=pret;
			this.diamond=pdiamond;
			this.transactionId=ptransactionId;
		}
		public PushIosVerify(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1194);
			retMsg.writeInt(this.ret);
			retMsg.writeInt(this.diamond);
			retMsg.writeString(this.transactionId);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubModifyCreditNum{
		public ClubCreditNum[] player_ids;
		public static final int id = 1195;

		public static C2SClubModifyCreditNum parse(RequestMessageRaw request){
			C2SClubModifyCreditNum retObj = new C2SClubModifyCreditNum();
			try{
			int player_ids_size = request.readInt();
				retObj.player_ids = new ClubCreditNum[player_ids_size];
				for(int i=0;i<player_ids_size;i++){
						retObj.player_ids[i] = new ClubCreditNum();
					retObj.player_ids[i].player_id=request.readInt();
					retObj.player_ids[i].credit_num=request.readInt();
				}
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class ClubCreditNum{
		public int player_id;
		public int credit_num;
		public ClubCreditNum(int pcredit_num,int pplayer_id){
			this.credit_num=pcredit_num;
			this.player_id=pplayer_id;
		}
		public ClubCreditNum(){}
	}
	public static final class S2CClubModifyCreditNum{
		public ClubCreditNum[] player_ids;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1196);
			if(this.player_ids == null || this.player_ids.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.player_ids.length);
				for(int i=0;i<this.player_ids.length;i++){
					retMsg.writeInt(this.player_ids[i].player_id);
					retMsg.writeInt(this.player_ids[i].credit_num);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubKick{
		public int[] player_id;
		public static final int id = 1197;

		public static C2SClubKick parse(RequestMessageRaw request){
			C2SClubKick retObj = new C2SClubKick();
			try{
			int player_id_size = request.readInt();
				retObj.player_id = new int[player_id_size];
				for(int i=0;i<player_id_size;i++){
					retObj.player_id[i]=request.readInt();
				}
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubKick{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 1198);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubAppoint{
		public int player_id;
		public static final int id = 2001;

		public static C2SClubAppoint parse(RequestMessageRaw request){
			C2SClubAppoint retObj = new C2SClubAppoint();
			try{
			retObj.player_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubAppoint{
		public String player_name;
		public S2CClubAppoint(String pplayer_name){
			this.player_name=pplayer_name;
		}
		public S2CClubAppoint(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2002);
			retMsg.writeString(this.player_name);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubManageChange{
		public int player_id;
		public int to_player_id;
		public static final int id = 2003;

		public static C2SClubManageChange parse(RequestMessageRaw request){
			C2SClubManageChange retObj = new C2SClubManageChange();
			try{
			retObj.player_id=request.readInt();
			retObj.to_player_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubManageChange{
		public String player_name;
		public String to_player_name;
		public S2CClubManageChange(String pto_player_name,String pplayer_name){
			this.to_player_name=pto_player_name;
			this.player_name=pplayer_name;
		}
		public S2CClubManageChange(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2004);
			retMsg.writeString(this.player_name);
			retMsg.writeString(this.to_player_name);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubMakeOver{
		public int player_id;
		public static final int id = 2005;

		public static C2SClubMakeOver parse(RequestMessageRaw request){
			C2SClubMakeOver retObj = new C2SClubMakeOver();
			try{
			retObj.player_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubMakeOver{
		public String player_name;
		public S2CClubMakeOver(String pplayer_name){
			this.player_name=pplayer_name;
		}
		public S2CClubMakeOver(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2006);
			retMsg.writeString(this.player_name);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubDissolve{
		public static final int id = 2007;

		public static C2SClubDissolve parse(RequestMessageRaw request){
			C2SClubDissolve retObj = new C2SClubDissolve();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubDissolve{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2008);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubApplyList{
		public static final int id = 2009;

		public static C2SClubApplyList parse(RequestMessageRaw request){
			C2SClubApplyList retObj = new C2SClubApplyList();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubApplyList{
		public int residue_num;
		public ClubApplyMember[] apply_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2010);
			retMsg.writeInt(this.residue_num);
			if(this.apply_list == null || this.apply_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.apply_list.length);
				for(int i=0;i<this.apply_list.length;i++){
					retMsg.writeInt(this.apply_list[i].player_id);
					retMsg.writeString(this.apply_list[i].player_name);
					retMsg.writeString(this.apply_list[i].headimg);
					retMsg.writeInt(this.apply_list[i].status);
					retMsg.writeInt(this.apply_list[i].downline_time);
					retMsg.writeString(this.apply_list[i].lat);
					retMsg.writeString(this.apply_list[i].lng);
					retMsg.writeString(this.apply_list[i].club_name);
					retMsg.writeInt(this.apply_list[i].invite_status);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class ClubApplyMember{
		public int player_id;
		public String player_name;
		public String headimg;
		public int status;
		public int downline_time;
		public String lat;
		public String lng;
		public String club_name;
		public int invite_status;
		public ClubApplyMember(int pplayer_id,int pdownline_time,String pheadimg,String plng,String pplayer_name,int pinvite_status,String pclub_name,String plat,int pstatus){
			this.player_id=pplayer_id;
			this.downline_time=pdownline_time;
			this.headimg=pheadimg;
			this.lng=plng;
			this.player_name=pplayer_name;
			this.invite_status=pinvite_status;
			this.club_name=pclub_name;
			this.lat=plat;
			this.status=pstatus;
		}
		public ClubApplyMember(){}
	}
	public static final class C2SClubApplyAgree{
		public int[] apply_ids;
		public static final int id = 2011;

		public static C2SClubApplyAgree parse(RequestMessageRaw request){
			C2SClubApplyAgree retObj = new C2SClubApplyAgree();
			try{
			int apply_ids_size = request.readInt();
				retObj.apply_ids = new int[apply_ids_size];
				for(int i=0;i<apply_ids_size;i++){
					retObj.apply_ids[i]=request.readInt();
				}
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubApplyAgree{
		public int[] apply_ids;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2012);
			if(this.apply_ids == null || this.apply_ids.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.apply_ids.length);
				for(int i=0;i<this.apply_ids.length;i++){
			retMsg.writeInt(this.apply_ids[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubApplyReject{
		public int[] apply_ids;
		public static final int id = 2013;

		public static C2SClubApplyReject parse(RequestMessageRaw request){
			C2SClubApplyReject retObj = new C2SClubApplyReject();
			try{
			int apply_ids_size = request.readInt();
				retObj.apply_ids = new int[apply_ids_size];
				for(int i=0;i<apply_ids_size;i++){
					retObj.apply_ids[i]=request.readInt();
				}
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubApplyReject{
		public int[] apply_ids;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2014);
			if(this.apply_ids == null || this.apply_ids.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.apply_ids.length);
				for(int i=0;i<this.apply_ids.length;i++){
			retMsg.writeInt(this.apply_ids[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubInviteList{
		public static final int id = 2015;

		public static C2SClubInviteList parse(RequestMessageRaw request){
			C2SClubInviteList retObj = new C2SClubInviteList();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubInviteList{
		public int residue_num;
		public ClubApplyMember[] apply_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2016);
			retMsg.writeInt(this.residue_num);
			if(this.apply_list == null || this.apply_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.apply_list.length);
				for(int i=0;i<this.apply_list.length;i++){
					retMsg.writeInt(this.apply_list[i].player_id);
					retMsg.writeString(this.apply_list[i].player_name);
					retMsg.writeString(this.apply_list[i].headimg);
					retMsg.writeInt(this.apply_list[i].status);
					retMsg.writeInt(this.apply_list[i].downline_time);
					retMsg.writeString(this.apply_list[i].lat);
					retMsg.writeString(this.apply_list[i].lng);
					retMsg.writeString(this.apply_list[i].club_name);
					retMsg.writeInt(this.apply_list[i].invite_status);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubInviteAgree{
		public int club_id;
		public static final int id = 2017;

		public static C2SClubInviteAgree parse(RequestMessageRaw request){
			C2SClubInviteAgree retObj = new C2SClubInviteAgree();
			try{
			retObj.club_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubInviteAgree{
		public int club_id;
		public S2CClubInviteAgree(int pclub_id){
			this.club_id=pclub_id;
		}
		public S2CClubInviteAgree(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2018);
			retMsg.writeInt(this.club_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubInviteReject{
		public int club_id;
		public static final int id = 2019;

		public static C2SClubInviteReject parse(RequestMessageRaw request){
			C2SClubInviteReject retObj = new C2SClubInviteReject();
			try{
			retObj.club_id=request.readInt();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubInviteReject{
		public int club_id;
		public S2CClubInviteReject(int pclub_id){
			this.club_id=pclub_id;
		}
		public S2CClubInviteReject(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2020);
			retMsg.writeInt(this.club_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubInvite{
		public int[] invite_ids;
		public static final int id = 2021;

		public static C2SClubInvite parse(RequestMessageRaw request){
			C2SClubInvite retObj = new C2SClubInvite();
			try{
			int invite_ids_size = request.readInt();
				retObj.invite_ids = new int[invite_ids_size];
				for(int i=0;i<invite_ids_size;i++){
					retObj.invite_ids[i]=request.readInt();
				}
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubInvite{
		public int[] invite_ids;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2022);
			if(this.invite_ids == null || this.invite_ids.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.invite_ids.length);
				for(int i=0;i<this.invite_ids.length;i++){
			retMsg.writeInt(this.invite_ids[i]);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class S2CMailPushList{
		public MailInfo[] mail_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2024);
			if(this.mail_list == null || this.mail_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.mail_list.length);
				for(int i=0;i<this.mail_list.length;i++){
					retMsg.writeLong(this.mail_list[i].mail_id);
					retMsg.writeInt(this.mail_list[i].template_id);
					retMsg.writeString(this.mail_list[i].sendName);
					retMsg.writeInt(this.mail_list[i].create_time);
					retMsg.writeByte(this.mail_list[i].is_read);
					if(this.mail_list[i].attach == null || this.mail_list[i].attach.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.mail_list[i].attach.length);
				for(int attach_idx=0;attach_idx<this.mail_list[i].attach.length;attach_idx++){
					retMsg.writeInt(this.mail_list[i].attach[attach_idx].item_id);
					retMsg.writeInt(this.mail_list[i].attach[attach_idx].cnt);
				}
			}
					retMsg.writeString(this.mail_list[i].title);
					retMsg.writeString(this.mail_list[i].content);
					retMsg.writeInt(this.mail_list[i].remain_del_time);
					retMsg.writeInt(this.mail_list[i].act_type);
					if(this.mail_list[i].club_msg == null){
				retMsg.writeBool(false);
			}else{
				retMsg.writeBool(true);
					retMsg.writeInt(this.mail_list[i].club_msg.club_id);
					retMsg.writeString(this.mail_list[i].club_msg.club_name);
			}
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubManageList{
		public static final int id = 2025;

		public static C2SClubManageList parse(RequestMessageRaw request){
			C2SClubManageList retObj = new C2SClubManageList();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubManageList{
		public ClubManageMember[] manage_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2026);
			if(this.manage_list == null || this.manage_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.manage_list.length);
				for(int i=0;i<this.manage_list.length;i++){
					retMsg.writeInt(this.manage_list[i].player_id);
					retMsg.writeString(this.manage_list[i].player_name);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class ClubManageMember{
		public int player_id;
		public String player_name;
		public ClubManageMember(int pplayer_id,String pplayer_name){
			this.player_id=pplayer_id;
			this.player_name=pplayer_name;
		}
		public ClubManageMember(){}
	}
	public static final class C2SScoreTurntable{
		public static final int id = 2027;

		public static C2SScoreTurntable parse(RequestMessageRaw request){
			C2SScoreTurntable retObj = new C2SScoreTurntable();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CScoreTurntable{
		public byte item_id;
		public S2CScoreTurntable(byte pitem_id){
			this.item_id=pitem_id;
		}
		public S2CScoreTurntable(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2028);
			retMsg.writeByte(this.item_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SPlayerLocation{
		public String lat;
		public String lng;
		public static final int id = 2029;

		public static C2SPlayerLocation parse(RequestMessageRaw request){
			C2SPlayerLocation retObj = new C2SPlayerLocation();
			try{
			retObj.lat=request.readString();
			retObj.lng=request.readString();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CPlayerLocation{
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2030);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class S2CClubPushStauts{
		public int club_id;
		public S2CClubPushStauts(int pclub_id){
			this.club_id=pclub_id;
		}
		public S2CClubPushStauts(){}
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2032);
			retMsg.writeInt(this.club_id);
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class C2SClubPushRoom{
		public static final int id = 2033;

		public static C2SClubPushRoom parse(RequestMessageRaw request){
			C2SClubPushRoom retObj = new C2SClubPushRoom();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CClubPushRoom{
		public ClubRoom[] club_room_list;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2034);
			if(this.club_room_list == null || this.club_room_list.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.club_room_list.length);
				for(int i=0;i<this.club_room_list.length;i++){
					retMsg.writeInt(this.club_room_list[i].player_id);
					retMsg.writeString(this.club_room_list[i].player_name);
					retMsg.writeString(this.club_room_list[i].headimg);
					retMsg.writeByte(this.club_room_list[i].room_type);
					retMsg.writeString(this.club_room_list[i].room_id);
					retMsg.writeShort(this.club_room_list[i].round_count);
					retMsg.writeShort(this.club_room_list[i].person_count);
					retMsg.writeByte(this.club_room_list[i].is_jindou);
					retMsg.writeShort(this.club_room_list[i].max_count);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class ClubRoom{
		public int player_id;
		public String player_name;
		public String headimg;
		public byte room_type;
		public String room_id;
		public short round_count;
		public short person_count;
		public byte is_jindou;
		public short max_count;
		public ClubRoom(String proom_id,short pmax_count,int pplayer_id,String pheadimg,short pround_count,byte pis_jindou,String pplayer_name,short pperson_count,byte proom_type){
			this.room_id=proom_id;
			this.max_count=pmax_count;
			this.player_id=pplayer_id;
			this.headimg=pheadimg;
			this.round_count=pround_count;
			this.is_jindou=pis_jindou;
			this.player_name=pplayer_name;
			this.person_count=pperson_count;
			this.room_type=proom_type;
		}
		public ClubRoom(){}
	}
	public static final class C2SGetBattleReportList{
		public static final int id = 2035;

		public static C2SGetBattleReportList parse(RequestMessageRaw request){
			C2SGetBattleReportList retObj = new C2SGetBattleReportList();
			try{
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CGetBattleReportList{
		public ReportList[] battlereport;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2036);
			if(this.battlereport == null || this.battlereport.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.battlereport.length);
				for(int i=0;i<this.battlereport.length;i++){
					retMsg.writeByte(this.battlereport[i].roomtype);
					retMsg.writeString(this.battlereport[i].roomid);
					if(this.battlereport[i].score == null || this.battlereport[i].score.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.battlereport[i].score.length);
				for(int score_idx=0;score_idx<this.battlereport[i].score.length;score_idx++){
			retMsg.writeShort(this.battlereport[i].score[score_idx]);
				}
			}
					if(this.battlereport[i].playername == null || this.battlereport[i].playername.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.battlereport[i].playername.length);
				for(int playername_idx=0;playername_idx<this.battlereport[i].playername.length;playername_idx++){
			retMsg.writeString(this.battlereport[i].playername[playername_idx]);
				}
			}
					retMsg.writeInt(this.battlereport[i].date);
					retMsg.writeLong(this.battlereport[i].reportid);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class ReportList{
		public byte roomtype;
		public String roomid;
		public short[] score;
		public String[] playername;
		public int date;
		public long reportid;
	}
	public static final class C2SGetReport{
		public long reportid;
		public static final int id = 2037;

		public static C2SGetReport parse(RequestMessageRaw request){
			C2SGetReport retObj = new C2SGetReport();
			try{
			retObj.reportid=request.readLong();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CGetReport{
		public BattleAround[] around;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2038);
			if(this.around == null || this.around.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.around.length);
				for(int i=0;i<this.around.length;i++){
					retMsg.writeInt(this.around[i].time);
					if(this.around[i].score == null || this.around[i].score.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.around[i].score.length);
				for(int score_idx=0;score_idx<this.around[i].score.length;score_idx++){
			retMsg.writeInt(this.around[i].score[score_idx]);
				}
			}
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class BattleAround{
		public int time;
		public int[] score;
	}
	public static final class C2SGetReportdetail{
		public long reportid;
		public byte index;
		public static final int id = 2039;

		public static C2SGetReportdetail parse(RequestMessageRaw request){
			C2SGetReportdetail retObj = new C2SGetReportdetail();
			try{
			retObj.reportid=request.readLong();
			retObj.index=request.readByte();
			}catch(Exception e){e.printStackTrace();}
			return retObj;
		}
	}
	public static final class S2CGetReportdetail{
		public byte isSanjindao;
		public byte danpeishuangpei;
		public byte eatCard;
		public byte HuaCard;
		public byte goldRate;
		public byte feeCost;
		public byte countNum;
		public byte goldCard;
		public int[] dice;
		public Bytearray[] handcard;
		public Bytearray[] bucards;
		public Bytearray[] huacards;
		public byte roundcount;
		public int[] aroundscore;
		public Allaction[] allaction;
		public Gamesplayers[] players;
		public SendToMessageRaw build(ByteBufAllocator alloc){
			try{
			SendToMessageRaw retMsg = new SendToMessageRaw(alloc, 2040);
			retMsg.writeByte(this.isSanjindao);
			retMsg.writeByte(this.danpeishuangpei);
			retMsg.writeByte(this.eatCard);
			retMsg.writeByte(this.HuaCard);
			retMsg.writeByte(this.goldRate);
			retMsg.writeByte(this.feeCost);
			retMsg.writeByte(this.countNum);
			retMsg.writeByte(this.goldCard);
			if(this.dice == null || this.dice.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.dice.length);
				for(int i=0;i<this.dice.length;i++){
			retMsg.writeInt(this.dice[i]);
				}
			}
			if(this.handcard == null || this.handcard.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.handcard.length);
				for(int i=0;i<this.handcard.length;i++){
					if(this.handcard[i].cards == null || this.handcard[i].cards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.handcard[i].cards.length);
				for(int cards_idx=0;cards_idx<this.handcard[i].cards.length;cards_idx++){
			retMsg.writeByte(this.handcard[i].cards[cards_idx]);
				}
			}
				}
			}
			if(this.bucards == null || this.bucards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.bucards.length);
				for(int i=0;i<this.bucards.length;i++){
					if(this.bucards[i].cards == null || this.bucards[i].cards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.bucards[i].cards.length);
				for(int cards_idx=0;cards_idx<this.bucards[i].cards.length;cards_idx++){
			retMsg.writeByte(this.bucards[i].cards[cards_idx]);
				}
			}
				}
			}
			if(this.huacards == null || this.huacards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.huacards.length);
				for(int i=0;i<this.huacards.length;i++){
					if(this.huacards[i].cards == null || this.huacards[i].cards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.huacards[i].cards.length);
				for(int cards_idx=0;cards_idx<this.huacards[i].cards.length;cards_idx++){
			retMsg.writeByte(this.huacards[i].cards[cards_idx]);
				}
			}
				}
			}
			retMsg.writeByte(this.roundcount);
			if(this.aroundscore == null || this.aroundscore.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.aroundscore.length);
				for(int i=0;i<this.aroundscore.length;i++){
			retMsg.writeInt(this.aroundscore[i]);
				}
			}
			if(this.allaction == null || this.allaction.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.allaction.length);
				for(int i=0;i<this.allaction.length;i++){
					retMsg.writeByte(this.allaction[i].userAction);
					retMsg.writeByte(this.allaction[i].playerIndex);
					retMsg.writeByte(this.allaction[i].vote);
					if(this.allaction[i].operatorCards == null || this.allaction[i].operatorCards.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.allaction[i].operatorCards.length);
				for(int operatorCards_idx=0;operatorCards_idx<this.allaction[i].operatorCards.length;operatorCards_idx++){
			retMsg.writeInt(this.allaction[i].operatorCards[operatorCards_idx]);
				}
			}
				}
			}
			if(this.players == null || this.players.length == 0){
				retMsg.writeInt(0);
			}else{
				retMsg.writeInt(this.players.length);
				for(int i=0;i<this.players.length;i++){
					retMsg.writeInt(this.players[i].player_id);
					retMsg.writeString(this.players[i].name);
					retMsg.writeString(this.players[i].headimg);
					retMsg.writeByte(this.players[i].sex);
					retMsg.writeInt(this.players[i].jindou);
				}
			}
			return retMsg;
			}catch(Exception e){e.printStackTrace();return null;}
		}
	}
	public static final class Allaction{
		public byte userAction;
		public byte playerIndex;
		public byte vote;
		public int[] operatorCards;
	}
	public static final class Gamesplayers{
		public int player_id;
		public String name;
		public String headimg;
		public byte sex;
		public int jindou;
		public Gamesplayers(int pplayer_id,String pheadimg,byte psex,int pjindou,String pname){
			this.player_id=pplayer_id;
			this.headimg=pheadimg;
			this.sex=psex;
			this.jindou=pjindou;
			this.name=pname;
		}
		public Gamesplayers(){}
	}
	public static final class Bytearray{
		public byte[] cards;
	}
}
